package springboot.bean;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

@Component
public class GetFinish_Request implements Serializable {
    private String uUID;
    private String user;
    private String requestAPI;
    private List<Data> list;

    public String getuUID() {
        return uUID;
    }

    public void setuUID(String uUID) {
        this.uUID = uUID;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getRequestAPI() {
        return requestAPI;
    }

    public void setRequestAPI(String requestAPI) {
        this.requestAPI = requestAPI;
    }

    public List<Data> getList() {
        return list;
    }

    public void setList(List<Data> list) {
        this.list = list;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        GetFinish_Request that = (GetFinish_Request) o;
        return Objects.equals(uUID, that.uUID) &&
                Objects.equals(user, that.user) &&
                Objects.equals(requestAPI, that.requestAPI) &&
                Objects.equals(list, that.list);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uUID, user, requestAPI, list);
    }

    @Override
    public String toString() {
        return "GetFinish_Request{" +
                "uUID='" + uUID + '\'' +
                ", user='" + user + '\'' +
                ", requestAPI='" + requestAPI + '\'' +
                ", list=" + list +
                '}';
    }
}
